package cn.opopopo.designpatterns.demos.web.InterfaceIsolationPrinciple;

// 星探类直接依赖庞大的接口
public class AbstractSearcher {

    private IPettyGirl pettyGirl;

    public AbstractSearcher(IPettyGirl pettyGirl) {
        this.pettyGirl = pettyGirl;
    }

    public void show() {
        pettyGirl.goodLooking();
        pettyGirl.niceFigure();
        pettyGirl.greatTemperament();
    }
}